package com.app.controller 
{
	import org.puremvc.as3.interfaces.ICommand;
	import org.puremvc.as3.interfaces.INotification;
	import org.puremvc.as3.patterns.command.SimpleCommand;
	
	import com.app.model.HallConnProxy;
	import com.app.model.RoomConnProxy;
	import com.app.model.GameConfigProxy;
	import com.app.model.HttpProxy;
	import com.app.model.xml.AnalysisXMLProxy;
	import com.app.model.RoomListProxy;
	import com.app.model.SystemTipsProxy;
	import com.app.model.room.PlayerListProxy;
	
	/**
	 * ...
	 * @author kevin
	 */
	public class ModelPrepCommand extends SimpleCommand implements ICommand
	{
		override public function execute(notification:INotification):void
		{
			facade.registerProxy( new HallConnProxy() );
			facade.registerProxy( new RoomConnProxy() );
			facade.registerProxy( new GameConfigProxy() );
			facade.registerProxy( new HttpProxy() );
			facade.registerProxy( new AnalysisXMLProxy() );
			facade.registerProxy( new RoomListProxy() );
			facade.registerProxy( new PlayerListProxy() );
			facade.registerProxy( new SystemTipsProxy() );
		}
	}

}